package com.t174.car.entity;


import java.math.BigDecimal;

public class Components {

  private int id;
  private int purchaseid;
  private int count;
  private BigDecimal price;
 private  Purchase purchase;
 private String name;

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public int getPurchaseid() {
    return purchaseid;
  }

  public void setPurchaseid(int purchaseid) {
    this.purchaseid = purchaseid;
  }

  public Purchase getPurchase() {
    return purchase;
  }

  public void setPurchase(Purchase purchase) {
    this.purchase = purchase;
  }

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }



  public int getCount() {
    return count;
  }

  public void setCount(int count) {
    this.count = count;
  }


  public BigDecimal getPrice() {
    return price;
  }

  public void setPrice(BigDecimal price) {
    this.price = price;
  }

}
